import request from '@/utils/request'

// 获取保姆信息
export const getServersById = (id) => {
  return request({
    method: 'GET',
    url: `/servers?id=${id}`
  })
}

// 获取技师详情
export const getTechnicianById = () => {
  return request({
    method: 'GET',
    url: '/technicians'
  })
}
// 获取公司详情
export const getcompanysById = (companyId) => {
  return request({
    method: 'GET',
    url: `/company?id=${companyId}`
  })
}

// 获取公司人员详情
export const getTechniciansById = () => {
  return request({
    method: 'GET',
    url: '/technicians'
  })
}

// 获取公司人员详情luowen
export const getserversDetailByServersId = (id) => {
  return request({
    method: 'GET',
    url: `/serversDetail?id=${id}`
  })
}
